package org.example.test_03.Mapper;

import org.apache.ibatis.annotations.*;
import org.example.test_03.Domian.User;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM `user` where username=#{username}")
    User getUserByUsername(String username);
//  @Select()  查询
//  @Update()  更新
//  @Insert() 插入
//  @Delete() 删除


}
